public class Person {
    private String name;
    private String sex;
    public  Person(String name,String sex){
        this.name=name;
        this.sex=sex;
    }
    public String getName(){
        return this.name;
    }
    public String getSex(){
        return this.sex;
    }


    public void show(){
        System.out.println(name+"\n"+sex);
    }
}

